package com.example.lncd.util;

public class Constants {
    // API 基础URL
    public static final String BASE_URL = "http://192.168.188.5:8080/api/";
    
    // 腾讯地图API密钥
    public static final String TENCENT_MAP_KEY = "TXEBZ-SKSLZ-2D5X4-TTPNQ-IZRRZ-QUBBU";
    
    // SharedPreferences 常量
    public static final String PREF_NAME = "lncd_prefs";
    public static final String PREF_USER_ID = "user_id";
    public static final String PREF_USERNAME = "username";
    public static final String PREF_USER_TYPE = "user_type";
    public static final String PREF_IS_LOGGED_IN = "is_logged_in";
    
    // 定位相关常量
    public static final int LOCATION_UPDATE_INTERVAL = 60000; // 1分钟更新一次位置
    public static final int LOCATION_FASTEST_INTERVAL = 30000; // 最快30秒更新一次
    
    // 请求码
    public static final int REQUEST_LOCATION_PERMISSION = 100;
} 